<#macro cg comparePage>
<#if "${comparePage}"=="${goodscomments.pageNo}"><#t>
disabled="disabled" href="#comment"<#t>
<#else>
href="${actionlink}&page=${comparePage}"<#t>
</#if>
</#macro>
<div class="pc_mod">
    <div class="result_select">
        <div class="yahoo2">
            <#if (goodscomments.getList()??)&&(goodscomments.getList()?size>0)>
            <span class="disabled">共${goodscomments.totalPage}页</span>
           		<#assign x=(goodscomments.totalPage)>
            	<#if (x>2) >
            		<#if goodscomments.pageNo==1>
            		<a <@cg comparePage="1" /> ><span class="current">1</span></a>
            		<#else>
            		<a <@cg comparePage="1" /> >1</a>
            		</#if>
            	</#if>
            	<#if (x>3) >
            		<#if goodscomments.pageNo==2>
            		<a <@cg comparePage="2" /> ><span class="current">2</span></a>
            		<#else>
            		<a <@cg comparePage="2" /> >2</a>
            		</#if>
            	</#if>
            	<#if (x>4) >
            		<#if goodscomments.pageNo==3>
            		<a <@cg comparePage="3" /> ><span class="current">3</span></a>
            		<#else>
            		<a <@cg comparePage="3" /> >3</a>
            		</#if>
            	</#if>
        
            <a <@cg comparePage="${goodscomments.nextPageNo}" /> class="next">下一页 &gt;</a>
            </#if>
        </div>
    </div>
</div>
